:root {
    /*标题*/
    --vp-home-hero-name-color: transparent;
    --vp-home-hero-name-background: linear-gradient(90deg, #92FFC0 10%, #002661 100%);

    /*图标背景*/
    --vp-home-hero-image-background-image: linear-gradient(90deg, #92FFC0 10%, #002661 100%);
    --vp-home-hero-image-filter: blur(90px);

    /*代码样式*/
    --vp-code-block-bg: #f9fafb;
    /* --vp-code-block-bg: var(--vp-c-bg-alt); */

    --vp-code-line-highlight-color: rgba(0, 0, 0, 0.5);
    --vp-code-line-number-color: var(--vp-c-text-dark-3);

    --vp-code-copy-code-hover-bg: rgba(255, 255, 255, 0.05);
    --vp-code-copy-code-active-text: var(--vp-c-bg-alt);

    --demi-border-color: #ebedf1;
}

.dark {
    --vp-code-block-bg: var(--vp-c-bg-alt);
}

.vp-doc [class*='language-']:before {
    color: var(--vp-c-text-2);
}

@media (min-width: 640px) {
    .vp-doc div[class*='language-'] {
        border-radius: 4px;
        margin: 16px 0;
    }
}

@media (max-width: 639px) {
    .vp-doc div[class*='language-'] {
        border-radius: 4px;
    }
}

.vp-doc table {
    display: table;
    width: 100%;
    font-size: 15px;
}

.vp-doc tr {
    border-top: 1px solid var(--demi-border-color);
}

.vp-doc tr:nth-child(2n) {
    background-color: unset;
}

.vp-doc th,
.vp-doc td {
    border: 1px solid var(--demi-border-color);
    padding: 10px 20px;
}

.vp-doc th {
    font-size: 15px;
    font-weight: 600;
    background-color: var(--vp-c-white-soft);
}

.vp-doc table td:first-child {
    font-size: 15px;
    font-weight: 600;
}

/*demo渲染的button默认样式*/
.vp-doc button {
    border: 1px solid var(--vp-c-border);
    border-radius: 4px;
    background-color: var(--vp-c-white-soft);
    color: var(--vp-c-text);
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.vp-doc button:hover {
    background-color: var(--vp-c-white);
    border-color: var(--vp-c-border-hover);
}

/*demo渲染的input默认样式*/
.vp-doc input {
    border: 1px solid var(--vp-c-border);
    border-radius: 4px;
    background-color: var(--vp-c-white-soft);
    color: var(--vp-c-text);
    padding: 2px 8px;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
}

/*移除搜索的logo*/
.command-palette-logo {
    display: none;
}

/*移除代码跳转到vue sfc playground*/
.vitepress-demo .demo-actions {
    justify-content: flex-end;
}

.vitepress-demo .demo-platforms {
    display: none;
}

.blog-search .nav-search-btn-wait {
    background-color: var(--vp-c-bg-alt);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 10px 0 12px;
    height: 40px;
}